package com.joinway.framework.data.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.joinway.framework.bean.BaseBean;


/**
 * The persistent class for the description_config database table.
 * 
 */
@Entity
@Table(name="DESCRIPTION_CONFIG")
@NamedQuery(name="DescriptionConfig.findAll", query="SELECT d FROM DescriptionConfig d")
public class DescriptionConfig extends BaseBean {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private int id;

//	@Column(name="CODE")
	private int code;

//	@Column(name="EXCEPTION")
	private String exception;

//	@Column(name="TEXT")
	private String text;

	public DescriptionConfig() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCode() {
		return this.code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getException() {
		return this.exception;
	}

	public void setException(String exception) {
		this.exception = exception;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

}